package com.ruoyi.workorder.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单管理对象 work_order
 * 
 * @author ruoyi
 * @date 2023-06-01
 */
public class WorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工单编码 */
    private Long id;

    /** 工单名称 */
    @Excel(name = "工单名称")
    private String name;

    /** 工单内容 */
    @Excel(name = "工单内容")
    private String content;

    /** 是否派单 0 未派单    1 已派单*/
    @Excel(name = "是否派单")
    private Boolean isDispatch;

    /** 派单人id */
    @Excel(name = "派单人id")
    private Long dispatchUserId;

    /** 派单人姓名 */
    @Excel(name = "派单人姓名")
    private String dispatchName;

    /** 是否回复 0 未回复    1 已回复*/
    @Excel(name = "是否回复")
    private Boolean isReply;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复图片 */
    @Excel(name = "回复图片")
    private String replyImage;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setIsDispatch(Boolean isDispatch) 
    {
        this.isDispatch = isDispatch;
    }

    public Boolean getIsDispatch() 
    {
        return isDispatch;
    }
    public void setDispatchUserId(Long dispatchUserId) 
    {
        this.dispatchUserId = dispatchUserId;
    }

    public Long getDispatchUserId() 
    {
        return dispatchUserId;
    }
    public void setDispatchName(String dispatchName) 
    {
        this.dispatchName = dispatchName;
    }

    public String getDispatchName() 
    {
        return dispatchName;
    }
    public void setIsReply(Boolean isReply) 
    {
        this.isReply = isReply;
    }

    public Boolean getIsReply() 
    {
        return isReply;
    }
    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }
    public void setReplyImage(String replyImage) 
    {
        this.replyImage = replyImage;
    }

    public String getReplyImage() 
    {
        return replyImage;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("content", getContent())
            .append("isDispatch", getIsDispatch())
            .append("dispatchUserId", getDispatchUserId())
            .append("dispatchName", getDispatchName())
            .append("isReply", getIsReply())
            .append("replyContent", getReplyContent())
            .append("replyImage", getReplyImage())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
